package com.example.yk_fx;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.blankj.utilcode.util.SPUtils;

public class LoginActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);
    }

    public void login(View view) {
        SPUtils.getInstance().put("token","eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhdXRoMCIsImV4cCI6MTcyMTExMzUxOCwidXNlcm5hbWUiOiIxMjMifQ.7dj8F46HWDOzw3ZGIyLKvtJ_xGYMqlzbMogKqrIy8oA");
        startActivity(new Intent(this,MainActivity.class));
    }
}